<!DOCTYPE html>
<html ng-app="laAir">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>长龙航空</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/style.css?v=20171214">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/Library/angular/angular1.4.8.min.js"></script>
    <script src="js/Library/angular/angular-cookies1.4.8.min.js"></script>
    <script type="text/javascript" src="js/Library/others/Base64.js?v=20171121"></script>
    <script src="js/Service/entityClass/laEntityClass.js?v=20171214"></script>
    <script src="js/Service/serviceImpl/laGlobalServiceImpl.js?v=20171214"></script>
    <script src="js/Service/serviceImpl/laOrderServiceImpl.js??v=20171214"></script>
    <script src="js/Service/serviceImpl/laUserServiceImpl.js?v=20171214"></script>
    <script src="js/Service/serviceImpl/laAir.js?v=20171214"></script>
    <script src="controller/searchPageCtl.js?v=20171215"></script>

</head>
<body class="MainBodyBg bodyFontSize" ng-controller="laAir_SearchCtl" >
<div class="container MainBgClor" ng-show="!showCity">
    <div class="row dongtaiChooseBox">
        <div class="col-sm-6 col-xs-6 col-lg-6 text-center dongtaiByNo"><span ng-click="chooseRoundTrip(0);" class="FontSize12">单程</span></div>
        <div class="col-sm-6 col-xs-6 col-lg-6 text-center dongtaiByCity"><span ng-click="chooseRoundTrip(1);" class="FontSize12">往返</span></div>
    </div>
    <div class="row dongtaiCityBox">
        <div class="col-sm-5 col-xs-5 col-lg-5"><input type="text" id="startCity" ng-click="ChooseCityBtn(0);" class="CityInput FontSize18" readonly/></div>
        <div class="col-sm-2 col-xs-2 col-lg-2"><img src="img/AppImg01.png" class="img-responsive center-block Img_Mid"/></div>
        <div class="col-sm-5 col-xs-5 col-lg-5 text-right"><input type="text" id="arriveCity" ng-click="ChooseCityBtn(1);" class="CityInput FontSize18 text-right" readonly/></div>

    </div>
    <div class="row dongtaiTimeBox">
        <div class="col-sm-6 col-xs-6 col-lg-6"><input type="text" class="TimeInput FontSize18" id="StartTime" ng-model="StartTime" readonly/>&nbsp;&nbsp;<span class="FontSize12 WeekDaySty">{{StartWeek}}</span></div>
        <div ng-show="RoundTrip==1" class="col-sm-6 col-xs-6 col-lg-6"><input type="text" id="EndTime" class="TimeInput FontSize18" ng-model="EndTime" readonly/>&nbsp;&nbsp;<span class="FontSize12 WeekDaySty">{{EndWeek}}</span></div>
    </div>

</div>
<div class="container padTop20" ng-show="!showCity">
    <div>
        <button class="btn btn-block btn-circle btn-my FontSize10" ng-click="btnQueryTicketClick()" id="test1"><span class="FontSize16">查询</span></button>
    </div>
</div>
<div class="container cityListBox" ng-show="showCity">
<p>热门</p>
    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" ng-click="chooseCity(hot);" ng-repeat="hot in CityList.HotAirports track by $index">{{hot.CityName}}</div>
    </div>
    <br/>
    <p>所有城市</p>
    <div class="row">
        <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" ng-click="chooseCity(All);" ng-repeat="All in CityList.AllAirports track by $index">{{All.CityName}}</div>
    </div>
</div>
<script src="js/public.js"></script>
<!--<script>
    $(function () {
        /*$("#test1").click(function () {
            var NowTime=new Date().getTime();
            var postdata = {
                Type: "Function",
                Content: {
                    key:"StarTime",
                    value:$("#StartTime").val()
                },
                To: {
                    Target: "main",
                    Func: "setStorage"
                },
                From: {
                    Target: "pageSearch",
                    Func: "",
                    Serial: NowTime
                }
            };

            window.parent.postMessage(postdata, '*');
            var getdata = {
                Type: "Function",
                Content: {
                    key:"StarTime"
                },
                To: {
                    Target: "main",
                    Func: "getStorage"
                },
                From: {
                    Target: "pageSearch",
                    Func: "",
                    Serial: NowTime
                }
            };
            window.parent.postMessage(getdata, '*');
        });*/
        /*$("#startCity").click(function () {
            var NowTime=new Date().getTime();
            var postdata = {
                Type: "Function",
                Content: {
                    Id:"pageSearch",
                    HasFoot:false,
                    Url:""
                },
                To: {
                    Target: "main",
                    Func: "toFullScreen"
                },
                From: {
                    Target: "pageSearch",
                    Func: "",
                    Serial: NowTime
                }
            };
            window.parent.postMessage(postdata, '*');
        });
        $("#endCity").click(function () {
            var NowTime=new Date().getTime();
            var postData = {
                Type: "Function",
                Content: {
                    Id:"pageSearch",
                    Height:"234px",
                    Url:"http://172.25.1.35:200/bannerPage.html"
                },
                To: {
                    Target: "main",
                    Func: "toScreen"
                },
                From: {
                    Target: "pageSearch",
                    Func: "",
                    Serial: NowTime
                }
            };
            window.parent.postMessage(postData, '*');
        })*/
    });
    /*window.addEventListener('message', function (e) {
        if (e.source != window.parent) return;
        alert(e.data);
    }, false);*/
</script>-->
</body>
</html>
